<%--
  Created by IntelliJ IDEA.
  User: l
  Date: 2022/5/23
  Time: 20:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="menu.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core" %>
<script src="js/function2.js"></script>
<script src="../shangc/js/jquery-1.12.4.min.js"></script>
<style>
    .error{
        display:  inline-block;
        color: red;
        font-size: 15px;
        margin-left: 10px;
    }
</style>
<!--/sidebar-->
<div class="main-wrap">

    <div class="crumb-wrap">
        <div class="crumb-list"><i class="icon-font"></i><a href="admin_index.jsp">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="admin_commentselect">评论管理</a><span class="crumb-step">&gt;</span><span>修改评论</span></div>
    </div>
    <div class="result-wrap">
        <div class="result-content">
            <form action="/lyq/admin/admin_docommentupdate" onsubmit="return checkForm(this)" method="post" id="myform" enctype="multipart/form-data" name="myform">
                <table class="insert-tab" width="100%">
                    <input value="${pl.comment_user}" type="hidden" name="user">
                    <input type="hidden" name="id" value="${pl.comment_id}">
                    <input type="hidden" name="file" value="${pl.comment_filename}">
                    <input type="hidden" name="cpage" value="${cpage}">
                    <input type="hidden" name="keywords" value="${keywords}">
                    <tbody>
                    <tr>
                        <th><i class="require-red">*</i>用户名：</th>
                        <td>${pl.comment_user}</td>
                    </tr>
                    <tr>
                        <th><i class="require-red">*</i>评论：</th>
                        <td><input class="common-text" name="pl" onfocus="FocusItem(this)" onblur="CheckItem(this)" value="${pl.comment_desc}" size="50" type="text"><span></span></td>
                    </tr>
                    <tr>
                        <th><i class="require-red"></i>评论图片：</th>
                        <td><input style="color: #1A1A1A" name="photo" size="50" value="${pl.comment_filename}" type="file"><span></span>
                            <c:if test="${pl.comment_filename != '0' && pl.comment_filename != ''}">
                                <img src="../shangc/image/product/${pl.comment_filename}" onfocus="FocusItem(this)" onblur="CheckItem(this)" height="50" width="43" height="43"></td>
                            </c:if>
                    </tr>
                    <tr>
                        <th></th>
                        <td>
                            <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                            <input class="btn btn6" onClick="history.go(-1)" value="返回" type="button">
                        </td>
                    </tr>
                    </tbody></table>
            </form>
        </div>
    </div>

</div>
<!--/main-->
</div>
</body>
</html>